package com.school.graduation.internet;

import com.school.graduation.bean.UploadResponseBean;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * Created by GavynZhang on 2017/6/2 22:00.
 */

public interface UploadImageInterface {
    @Multipart
    @POST("upload.php")
    Call<UploadResponseBean> uploadImage(@Part MultipartBody.Part img);
}
